<?php

namespace App\Console;

use App\Console\Commands\rebuildTwoLevelData;
use App\Console\Commands\syncSignData;
use App\Console\Commands\testAnKangApi;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
use App\Console\Commands\buildMaterialBalanceJson;
use App\Console\Commands\buildCarIsCheckData;
use App\Console\Commands\checkSkImportData;
use App\Console\Commands\updatePersonnelPhoto;
use App\Console\Commands\updatePersonnelFile;
use App\Console\Commands\updateBusFile;
use App\Console\Commands\updateBusFileByDir;
use App\Console\Commands\buildDingTokenJson;
use App\Console\Commands\syncMileageData;
use App\Console\Commands\syncAttendanceCollect;
use App\Console\Commands\insertAkbusHoliday;

class Kernel extends ConsoleKernel
{
    /**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        buildMaterialBalanceJson::class,
        buildCarIsCheckData::class,
        checkSkImportData::class,
        updatePersonnelPhoto::class,
        updatePersonnelFile::class,
        updateBusFile::class,
        updateBusFileByDir::class,
        buildDingTokenJson::class,
        testAnKangApi::class,
        syncSignData::class,
        syncMileageData::class,
        rebuildTwoLevelData::class,
        syncAttendanceCollect::class,
        insertAkbusHoliday::class,
    ];

    /**
     * Define the application's command schedule.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     *
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {
        //
    }

    /**
     * Register the commands for the application.
     *
     * @return void
     */
    protected function commands()
    {
        $this->load(__DIR__.'/Commands');

        require base_path('routes/console.php');
    }
}
